﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;

namespace ComicIsland.App
{
    public partial class TestHomePage : PhoneApplicationPage
    {
        
        public TestHomePage()
        {
            InitializeComponent();

            //
            ObservableCollection<TestA> storeAlbums = new ObservableCollection<TestA>();
            for (int i = 0; i < 10; i++)
            {
                TestA a = new TestA();
                a.Id = i + 1;
                a.ParentId = i % 2;
                a.Name = DateTime.Now.ToString("yyyyMMddHHmmss.fff");
                a.ParentName = DateTime.Now.ToString("yyyyMMdd")+"_"+a.ParentId.ToString ();
                storeAlbums.Add(a);
            }

            System.Collections.ObjectModel.ObservableCollection<string> items = new System.Collections.ObjectModel.ObservableCollection<string>();
            items.Add("/Images/tmp/djlzc1.jpg");
            items.Add("/Images/tmp/djlzc1.jpg");
            
        }

        private void HorizontalFlipView_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {

        }

    }

}